from src.utils.idcard_ocr import IDCardOCR

ocr_tool= IDCardOCR(use_gpu=False)

# 测试代码
if __name__ == "__main__":

    result = ocr_tool.recognize("D:\\gongsi\\datang\\Scan11.jpg", card_side="front")
    print(result)
    # 测试通用 OCR
